package com.example.demo.web.rest.evt;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import org.hibernate.validator.constraints.NotBlank;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * @Author zhengmf
 * @Date 2019/1/2  16:27
 */
@ApiModel("保存回复反馈信息参数")
public class SaveReplyFeedbackEvt implements Serializable {
    private static final long serialVersionUID = -5024736407418988053L;
    @ApiModelProperty("反馈ID")
    @NotNull
    private Long id;
    @ApiModelProperty("回复内容")
    private String replyContent;
    @ApiModelProperty("是否已读：'N'未读,'Y'已读")
    @NotBlank
    private String isRead;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getReplyContent() {
        return replyContent;
    }

    public void setReplyContent(String replyContent) {
        this.replyContent = replyContent;
    }

    public String getIsRead() {
        return isRead;
    }

    public void setIsRead(String isRead) {
        this.isRead = isRead;
    }

    @Override
    public String toString() {
        return "SaveReplyFeedbackEvt{" +
            "id=" + id +
            ", replyContent='" + replyContent + '\'' +
            ", isRead='" + isRead + '\'' +
            '}';
    }
}
